<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//把一个11位电话号码，中间四位变成****
			let phone = '13703352121' ;
			console.log(phone.slice(0,3)+'*'.repeat(4)+phone.slice(-4));
			
		</script>
	</body>
</html>
